<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">套餐名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">体检医院:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hospital_id" data-source="vppz/bdhospital/index" class="form-control selectpage" name="row[hospital_id]" type="text" value="">
        </div>
    </div>
       <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">套餐类型:</label>
        <div class="col-xs-12 col-sm-8">
            {foreach name="cates" item="vo"}
                <div class="radio">
                    <label>
                        <input name="row[cate_id]" type="radio" value="{$vo.id}" {in name="vo.id" value="multi"}checked{/in}> {$vo.name}
                    </label>
                </div>
            {/foreach}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">套餐价格:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_original_price" data-rule="required" class="form-control" name="row[total_original_price]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">终极价格:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-final_price" data-rule="required" class="form-control" name="row[final_price]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">适用人群:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-people_type" data-rule="required" class="form-control" name="row[people_type]" type="text">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">项目介绍:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-description" data-rule="required" class="form-control editor" rows="5" name="row[description]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">办公时间:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hospital_business_hours" data-rule="required" class="form-control" name="row[hospital_business_hours]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">办公电话:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hospital_phone" data-rule="required" class="form-control" name="row[hospital_phone]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">排序:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" class="form-control" name="row[weigh]" type="number">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">是否启用:</label>
        <div class="col-xs-12 col-sm-8">
			<input  id="c-is_active" name="row[is_active]" type="hidden" value="1">
			<a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-is_active"  data-yes="1" data-no="0">
			<i class="fa fa-toggle-on text-success  fa-2x"></i>
			</a>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
